﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using SMS.Entities;

namespace SMS.Web.Service
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "ICategoryService" in both code and config file together.
    [ServiceContract]
    public interface ICategoryService
    {
        [OperationContract]
        void DoWork();

        [OperationContract]
        List<SMS.Entities.Category> SearchCategory(string userName, string searchText, out SMSException serviceError);

        [OperationContract]
        int SaveCategory(string userName, Category category, out SMSException serviceError);
  

    }
}
